package com.ruoyi.ipms_crm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.web.domain.BaseEntity;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * @TODO   回访实体类
 * @author qs
 * @date 2022-04-21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class IpmsTracking extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Integer trackingId;

    /**
     * 客户id
     */
    private Integer customerId;

    /**
     * 业务员id
     */
    private Integer userId;

    /**
     * 回访信息
     */
    private String trackingMsg;

    /**
     * 乐观锁
     */
    private Integer version;

    /**
     * 逻辑删
     */
    private String isDelete;

    /*public void setTrackingId(Integer trackingId) {
        this.trackingId = trackingId;
    }

    public Integer getTrackingId() {
        return trackingId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setMaintainTime(String trackingMsg) {
        this.trackingMsg = trackingMsg;
    }

    public String getMaintainTime() {
        return trackingMsg;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getVersion() {
        return version;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getIsDelete() {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("trackingId", getTrackingId())
                .append("customerId", getCustomerId())
                .append("userId", getUserId())
                .append("trackingMsg", getMaintainTime())
                .append("version", getVersion())
                .append("isDelete", getIsDelete())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }*/
}
